package com.wx.router.rule.event;

import me.chanjar.weixin.mp.api.WxMpMessageRouter;
import me.chanjar.weixin.mp.api.WxMpMessageRouterRule;

/**
 * 关注事件
 * 
 * <xml> <ToUserName><![CDATA[toUser]]></ToUserName>
 * <FromUserName><![CDATA[FromUser]]></FromUserName>
 * <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType>
 * <Event><![CDATA[subscribe]]></Event> </xml>
 * 
 */

public class SubscribeRule extends WxMpMessageRouterRule {

	public SubscribeRule(WxMpMessageRouter routerBuilder) {
		super(routerBuilder);
		this.msgType("event").event("subscribe");
	}

}
